package com.zhny.dao;


import com.zhny.pojo.Role;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleDao extends Mapper<Role> {


    @Select("select * from t_role where category=#{category}")
    List<Role> selectAllRole(String category);

}
